//
//  YSY_Game_HeroDetailModel.m
//  GoodManNews
//
//  Created by dllo on 16/1/13.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "YSY_Game_HeroDetailModel.h"

@implementation YSY_Game_HeroDetailModel
-(void)dealloc {
    [_name release];
    [_displayName release];
    [_tips release];
    [_tags release];
    [_hero_description release];
    [_ratingAttack release];
    [_ratingDefense release];
    [_ratingMagic release];
    [_ratingDifficulty release];
    [_tips release];
    [_opponentTips release];
    [_skill_B release];
    [_skill_Q release];
    [_skill_W release];
    [_skill_E release];
    [_skill_R release];
    [_price release];
    [_like release];
    [_hate release];
    [_MId release];
    [super dealloc];
}
- (instancetype)init {
    self = [super init];
    if (self) {
        self.skill_B = [NSMutableDictionary dictionary];
        self.skill_Q = [NSMutableDictionary dictionary];
        self.skill_W = [NSMutableDictionary dictionary];
        self.skill_E = [NSMutableDictionary dictionary];
        self.skill_R = [NSMutableDictionary dictionary];
        self.like = [NSMutableArray array];
        self.hate = [NSMutableArray array];
    }
    return  self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    
    if ([key isEqualToString:@"description"]) {
        self.hero_description = value;
    }
    if ([key isEqualToString:@"id"]) {
        self.MId = value;
    }
}
@end
